var runtime.newmHandoff
21 uses
runtime (current package)
proc.go#L2832: var newmHandoff struct {
proc.go#L2885: lock(&newmHandoff.lock)
proc.go#L2886: if newmHandoff.haveTemplateThread == 0 {
proc.go#L2889: mp.schedlink = newmHandoff.newm
proc.go#L2890: newmHandoff.newm.set(mp)
proc.go#L2891: if newmHandoff.waiting {
proc.go#L2892: newmHandoff.waiting = false
proc.go#L2893: notewakeup(&newmHandoff.wake)
proc.go#L2895: unlock(&newmHandoff.lock)
proc.go#L2943: if !atomic.Cas(&newmHandoff.haveTemplateThread, 0, 1) {
proc.go#L2970: lock(&newmHandoff.lock)
proc.go#L2971: for newmHandoff.newm != 0 {
proc.go#L2972: newm := newmHandoff.newm.ptr()
proc.go#L2973: newmHandoff.newm = 0
proc.go#L2974: unlock(&newmHandoff.lock)
proc.go#L2981: lock(&newmHandoff.lock)
proc.go#L2983: newmHandoff.waiting = true
proc.go#L2984: noteclear(&newmHandoff.wake)
proc.go#L2985: unlock(&newmHandoff.lock)
proc.go#L2986: notesleep(&newmHandoff.wake)
proc.go#L5624: if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |